<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>show7</title>
    <script th:inline="javascript">
        //thymeleaf的js解析语法，解析user，如果在thymeleaf环境中，注释会忽略
        let user =/*[[${user.name}]]*/{};
        let info =/*[[${info}]]*/"";
        let id =/*[[${id}]]*/0;
        alert(user + "====" + info + "===" + id);

        console.log(user + "====" + info + "===" + id);

    </script>
</head>
<body>
<div th:text="${users}">
</div>

</body>
</html>